﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>EvidenceBillDetailView</title>
    @Html.Partial("_JsCommon")
    <script src="/Scripts/Case/StockBill.js" type="text/javascript"></script>
</head>
<body style="overflow: hidden;">
    <div id="stockBillDiv">
        <p style="width: 100%; text-align: center; height: 18px;">
            <label id="billTypeName" style="font-size: 16pt; border-bottom: 1px solid">物品记录单</label>
        </p>
        <p style="margin-top: -1px; margin-bottom: 0px">
            <a id="btnSaveBill" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-save" plain="true" onclick="saveStockBillAction()">保存</a>
            <a id="btnSelectSource" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-newspaper" plain="true" onclick="selectSourceAction()">选择物品单</a>
            <a id="btnCheck" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-split" plain="true" onclick="checkBillAction()">审核</a>
            <a id="btnAttachment" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-outbox" plain="true" onclick="attachmentAction()">附件</a>
            <a id="btnPrintBill" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-print" plain="true" onclick="printsBillAction()">打印单据</a>
            <a id="btnExit" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-no" plain="true" onclick="exit()">退出</a>
        </p>
        <div class="easyui-tabs" data-options="tabWidth:120" style="width: 800px; height: 340px; border-left: 1px solid #D4D4D4; border-right: 1px solid #D4D4D4">
            <div title="基本信息" data-options="tabWidth:115" style="padding: 3px">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 100px; text-align: right">
                            <label>源单编号:</label>
                        </td>
                        <td style="width: 130px; text-align: right">
                            <input id="txtSourceSerialNo" class="easyui-validatebox" data-options="required:false" onkeydown="onSourceSerialNoKeyDown(event)" />
                        </td>
                        <td style="width: 100px; text-align: right">
                            <label>单据编号:</label>
                        </td>
                        <td style="width: 130px; text-align: right">
                            <input id="txtSerialNo" class="easyui-validatebox" data-options="required:false" disabled="disabled" />
                        </td>
                        <td style="text-align: right">
                            <label id="lblStockType">出/入库类型:</label>
                        </td>
                        <td style="text-align: right">
                            <input id="cmbStockType" class="easyui-combobox" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 100px; text-align: right">
                            <label>案件编号:</label>
                        </td>
                        <td style="width: 130px; text-align: right">
                            <input id="txtNumber" class="easyui-validatebox" data-options="required:false" disabled="disabled" />
                        </td>
                        <td style="width: 100px; text-align: right">
                            <label>案件类型:</label>
                        </td>
                        <td style="width: 130px; text-align: right">
                            <input id="cmbCaseCategory" class="easyui-combobox" disabled="disabled" />
                        </td>
                        <td style="text-align: right">
                            <label>保管部门:</label>
                        </td>
                        <td style="text-align: right">
                            <input id="cmbManageDept" class="easyui-combobox" disabled="disabled" />
                        </td>
                    </tr>

                    <tr>
                        <td style="text-align: right">
                            <label id="lblTransferDept">办案单位:</label>
                        </td>
                        <td>
                            <input id="cmbTransferDept" class="easyui-combobox" />
                        </td>
                        <td style="text-align: right">
                            <label id="lblTransfer">办案人:</label>
                        </td>
                        <td style="text-align: right">
                            <input id="txtTransferName" class=" easyui-validatebox" data-options="required:false" disabled="disabled" />
                        </td>
                        <td style="text-align: right">
                            <label>联系方式:</label>
                        </td>
                        <td style="text-align: right">
                            <input id="txtTransferPhone" class="easyui-validatebox" data-options="required:false" />
                        </td>
                    </tr>
                    @*                   <tr>
                        <td style="text-align:right">
                            <label>提交时期:</label>
                        </td>
                        <td style="text-align:right">
                            <input id="dteBillTime" class="easyui-datetimebox"   />
                        </td>
                    </tr>*@
                    <tr>
                        <td style="text-align: right">
                            <label>备注说明:</label><input id="iptBillCheckTime" type="hidden" /></td>
                        <td colspan="5">
                            <textarea id="txtDescription" rows="2" style="width: 99%" cols="5"></textarea></td>

                    </tr>
                </table>

                <div>
                    <div id="detailDataGrid"></div>
                </div>

                <div id="stockDetailToolBar" style="height: 30px;">
                    <p style="float: left; margin-top: -1px">
                        <a id="btnEditStockDetail" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-showdetail" plain="true" onclick="editStockDetailAction()">查看明细</a>
                        <a id="btnDelStockDetail" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-cancel" plain="true" onclick="delStockDetailAction()">删除明细</a>
                        <a id="btnPrintBarCode" href="javascript:void(0);" class="easyui-linkbutton" iconcls="icon-print" plain="true" onclick="printBarCodeAction()">打印条码</a>
                    </p>
                </div>

            </div>
        </div>
        <table style="width: 100%; font-size: 12px">
            <tr>
                <td style="text-align: right">
                    <label>制单部门:</label>
                </td>
                <td style="text-align: right">
                    <input id="txtDepartment" class="easyui-validatebox" disabled="disabled" />
                </td>
                <td style="text-align: right">
                    <label>制单人:</label>
                </td>
                <td style="text-align: right">
                    <input id="txtPreparer" class="easyui-validatebox" disabled="disabled" />
                </td>
                <td style="text-align: right">
                    <label>制单时间:</label>
                </td>
                <td style="text-align: right">
                    <input id="txtBillTime" class="easyui-validatebox" disabled="disabled" />
                </td>
            </tr>
            <tr>
                <td style="text-align: right">
                    <label>审核部门:</label>
                </td>
                <td style="text-align: right">
                    <input id="txtCheckDept" class="easyui-validatebox" disabled="disabled" />
                </td>
                <td style="text-align: right">
                    <label>审核人:</label>
                </td>
                <td style="text-align: right">
                    <input id="txtChecker" class="easyui-validatebox" disabled="disabled" />
                </td>
                <td style="text-align: right">
                    <label>审核时间:</label>
                </td>
                <td style="text-align: right">
                    <input id="txtCheckTime" class="easyui-validatebox" disabled="disabled" />
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
